﻿using Manon.Repository;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace Manon.ConfigCenter.Web.ApplicationCore.Entities
{ 

    [Table("project_config_online")]
    public class ProjectConfigOnline : IBaseEntity
    {
        public int Id { get; set; }

        /// <summary>
        /// 项目id
        /// </summary>
        public int ProjectId { get; set; }

        /// <summary>
        /// 环境id
        /// </summary>
        public int EnvId { get; set; }

        /// <summary>
        /// 当前配置版本号
        /// </summary>
        public string VersionNumber { get; set; }
         
        /// <summary>
        /// 配置的json文件数据，如果长度不够请更改长度
        /// </summary>
        public string JsonSettings { get; set; }
         

        public DateTime CreateTime { get; set; }
        public DateTime UpdateTime { get; set; }
        public DateTime? DeleteTime { get; set; }
        public bool IsDeleted { get; set; }
    }
}
